package com.gxa.entity.discrepancy;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 访客审核表
 * </p>
 *
 * @author yjl
 * @since 2022-10-12 11:37:05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_audit")
@ApiModel(value = "访客审核", description = "")
public class Audit implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("访客审核id ")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("审核编号 ")
    @TableField("audit_number")
    private String auditNumber;

    @ApiModelProperty("访客姓名 ")
    @TableField("visitors_name")
    private String visitorsName;

    @ApiModelProperty("电话号 ")
    @TableField("visitors_phone")
    private String visitorsPhone;

    @ApiModelProperty("身份证号")
    @TableField("id_card")
    private String idCard;

    @ApiModelProperty("车牌号码 ")
    @TableField("car_number")
    private String carNumber;

    @ApiModelProperty("预计到访时间")
    @TableField("appointment_time")
    private Date appointmentTime;

    @ApiModelProperty("被采访人姓名")
    @TableField("interviewees_name")
    private String intervieweesName;

    @ApiModelProperty("被采访人电话")
    @TableField("interviewees_phone")
    private String intervieweesPhone;

    @ApiModelProperty("所属部门")
    @TableField("dept")
    private String dept;

    @ApiModelProperty("审核状态 0-未审核 1-审核通过 2-审核中 ")
    @TableField("audit_status")
    private Integer auditStatus;

    @TableLogic
    @TableField("is_delete")
    private Integer isDelete;

    @ApiModelProperty("头像 ")
    @TableField("avatar")
    private String avatar;

    @ApiModelProperty("通行位置")
    @TableField("pass_loc")
    private String passLocation;

    @ApiModelProperty("通行时间 ")
    @TableField("pass_time")
    private Date passTime;

    @ApiModelProperty("通行方式 0-刷脸 1-二维码 2-刷卡 ")
    @TableField("pass_way")
    private Integer passWay;

    @ApiModelProperty("通行照片 ")
    @TableField("pass_photo")
    private String passPhoto;

    @ApiModelProperty("最近通行时间 ")
    @TableField("recent_pass_time")
    private Date recentPassTime;


}
